package me.keiwu.task.util.enums;

import lombok.Getter;

/**
 * Created by kei on 03/11/2017.
 */
public enum ChallengeState {

    /**
     * 发起任务
     */
    INIT(0),

    /**
     * 挑战开始
     */
    STARTING(1),

    /**
     * 结束
     */
    END(2),

    /**
     * 关闭状态
     */
    CLOSE(3),

    /**
     * 过期
     */
    OVERTIME(4),
    ;


    @Getter
    private int state;

    ChallengeState(int state) {
        this.state = state;
    }

}
